package com.ruoyi.project.system.systematics.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.TreeEntity;

/**
 * 商品分类管理对象 goods_systematics
 * 
 * @author ruoyi
 * @date 2021-01-17
 */
public class GoodsSystematics extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long systematicsId;

    /** 商品分类启用状态，1表示启用0表示禁用 */
    @Excel(name = "商品分类启用状态，1表示启用0表示禁用")
    private Long enableStatus;

    /** 商品分类等级，1表示一级，2表示二级，3表示三级 */
    @Excel(name = "商品分类等级，1表示一级，2表示二级，3表示三级")
    private Long classificationLevel;

    /** 商品分类名称 */
    @Excel(name = "商品分类名称")
    private String typeName;

    /** 商品分类图片 */
    @Excel(name = "商品分类图片")
    private String typeImg;

    /** 商品排序数字 */
    @Excel(name = "商品排序数字")
    private Long sortNum;

    /** 商品分类描述 */
    @Excel(name = "商品分类描述")
    private String typeDesc;

    /** 商品分类路径 */
    @Excel(name = "商品分类路径")
    private String systematicsPath;

    public void setSystematicsId(Long systematicsId)
    {
        this.systematicsId = systematicsId;
    }

    public Long getSystematicsId()
    {
        return systematicsId;
    }
    public void setEnableStatus(Long enableStatus)
    {
        this.enableStatus = enableStatus;
    }

    public Long getEnableStatus()
    {
        return enableStatus;
    }
    public void setClassificationLevel(Long classificationLevel)
    {
        this.classificationLevel = classificationLevel;
    }

    public Long getClassificationLevel()
    {
        return classificationLevel;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setTypeImg(String typeImg)
    {
        this.typeImg = typeImg;
    }

    public String getTypeImg()
    {
        return typeImg;
    }
    public void setSortNum(Long sortNum)
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum()
    {
        return sortNum;
    }
    public void setTypeDesc(String typeDesc)
    {
        this.typeDesc = typeDesc;
    }

    public String getTypeDesc()
    {
        return typeDesc;
    }
    public void setSystematicsPath(String systematicsPath)
    {
        this.systematicsPath = systematicsPath;
    }

    public String getSystematicsPath()
    {
        return systematicsPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("systematicsId", getSystematicsId())
            .append("enableStatus", getEnableStatus())
            .append("classificationLevel", getClassificationLevel())
            .append("typeName", getTypeName())
            .append("typeImg", getTypeImg())
            .append("sortNum", getSortNum())
            .append("typeDesc", getTypeDesc())
            .append("systematicsPath", getSystematicsPath())
            .append("parentId", getParentId())
            .toString();
    }
}
